//
//  AppData.h
//  MJApp
//
//  Created by 王亮 on 15/8/25.
//  Copyright (c) 2015年 王亮. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^DataSuccessBlock)(NSDictionary *dic);

@interface AppData : NSObject

+ (instancetype)shareData;

//banner
- (void)bannerWithInfo:(NSDictionary *)dic withFinishBlock:(DataSuccessBlock)block;
//4个话题
- (void)topicWithInfo:(NSDictionary *)dic withFinishBlock:(DataSuccessBlock)block;
//动态list
- (void)trendListWithInfo:(NSDictionary *)dic withFinishBlock:(DataSuccessBlock)block;
//登录
- (void)loginWithInfo:(NSDictionary *)dic withFinishBlock:(DataSuccessBlock)block;
//手机短信验证码
- (void)codeWithInfo:(NSDictionary *)dic withFinishBlock:(DataSuccessBlock)block;
//注册
- (void)registerWithInfo:(NSDictionary *)dic withFinishBlock:(DataSuccessBlock)block;
//找回密码
- (void)findWithInfo:(NSDictionary *)dic withFinishBlock:(DataSuccessBlock)block;


@end
